package com.tuozixuan.liteflow.example1;

import org.springframework.stereotype.Component;

import com.yomahub.liteflow.core.FlowExecutor;
import com.yomahub.liteflow.flow.LiteflowResponse;

import jakarta.annotation.Resource;

@Component
public class YourClass {

	@Resource
    private FlowExecutor flowExecutor;
    
    public void testConfig(){
        LiteflowResponse response = flowExecutor.execute2Resp("chain1", "arg");
    }
}
